<template>
    <div :style="style">
        <div class="title" text-center>{{ title }}</div>
        <div class="card-body">
            <slot />
        </div>
    </div>
</template>
<script lang="ts" setup>
import { PropType, CSSProperties } from 'vue';

defineProps({
    title: String,
    style: Object as PropType<CSSProperties>,
});
</script>
